package com.consult.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ֵ
 * </p>
 *
 * @author ${author}
 * @since 2021-06-22
 */
@Data
public class Duty implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;
    @TableField(exist = false)
    private String username;

    private Integer userType;

    private Date dutyDate;

    private String dutyTimeId;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;

    private Integer appointmentNum;

}
